import { getCurrentInstance } from 'vue';

export const useGlobalAbility = (data) => {
  const instance = getCurrentInstance();
  return {
    ...instance.appContext.config.globalProperties,
  };
};
